package com.sywb.chuangyebao.bean;

import com.sywb.chuangyebao.Constants;

import org.bining.footstone.db.annotation.Column;
import org.bining.footstone.db.annotation.PrimaryKey;
import org.bining.footstone.db.annotation.Table;
import org.bining.footstone.db.enums.AssignType;

import java.io.Serializable;

/**
 * 行政区信息
 */
@Table(Constants.TABLE_DISTRCTINFO)
public class DistrictInfo implements Serializable {

    @PrimaryKey(AssignType.BY_MYSELF)
    @Column("id")
    public String id;
    @Column("code")
    public String code;
    @Column("name")
    public String name;
    @Column("postalCode")
    public String postalCode;
    @Column("parentId")
    public String parentId;
}
